Repository navigation
CODING-GUIDELINES.md: the rules and every design decision, in one place - #5
Merged
Merged
Conversation
added 5 commits
October 26, 2026 11:42
The organization's proposal coding-guidelines, accepted on 2026-10-26. CODING-GUIDELINES.md holds every rule on how code is written and every decision of webcpp's design, each with its reason, in nineteen chapters. Chapters 1 to 13 are AGENTS.md's rules moved word for word, each citation rewritten to the chapter's new home. Chapters 14 and 15 gather the organization's and each library's design decisions; 16 to 19 hold the roadmap, the proposals not built and the conflicts still open. AGENTS.md keeps how to work in the tree, in six chapters.
…guidelines Each rule they summarise or point to now lives in CODING-GUIDELINES.md, and how to work in the tree in AGENTS.md: every citation names the file and the chapter that hold it.
The lint's changelog rule, the release tooling and the comments of the Jamroot and the tests cite the chapter of AGENTS.md or CODING-GUIDELINES.md that now holds what they name. No behaviour changes.
The CI's lint, which reads libstdc++ on Linux, reports three parameters of trystero's headers that are moved into std::allocate_shared as used only as const references. trystero exempts them as it already exempts app::make's, which this commit records, with its AGENTS.md pointing to the coding guidelines.
…more trystero's memory backend takes its queue's nodes from the channel's resource, which MSVC's std::list allocates a sentinel of even when empty, and its allocation test checks its resources once its own objects are gone, which MSVC's debug containers hold iterator proxies of. Both MSVC lanes failed trystero/allocation on what the test itself made.
This was referenced Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The organization's proposal
coding-guidelines(webcpporg/proposals,organization/openspec/changes/coding-guidelines), accepted on 2026-10-26.CODING-GUIDELINES.mdholds every rule on how code is written and every decision of webcpp's design, each with its reason, in nineteen chapters. Chapters 1 to 13 areAGENTS.md's rules moved word for word, each citation rewritten to the chapter's new home; 14 and 15 gather the organization's and each library's design decisions; 16 to 19 hold the roadmap, the proposals not built and the conflicts still open.AGENTS.mdkeeps how to work in the tree, in six chapters.CONTRIBUTING.md,README.md, the index page, the five skills and the comments and messages of the Jamroot and the tools cite the new chapters. No behaviour changes.libs/trysteromoves to trystero: AGENTS.md sends the reader to the superproject's coding guidelines trystero#2, which fixes what this CI found in trystero and predates this change: three parameters the lint reports against libstdc++, and the allocation test on MSVC.main, is green: config#1, xactor#1, xstate#1, pratt#1, wasi#1, idna#2, lexical#1, document#1 and webcpporg.github.io#2.Locally, on macOS:
lint: clean(clang-tidy over 342 translation units), everytools/**/*_test.py(32 of 32) andb2 -a doc.🤖 Generated with Claude Code